package com.example.maple.weatherapp.adapter;

import android.content.Context;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import java.util.List;

/**
 * Created by maple on 2016/8/9.
 */
public class WeatherDataAdapter extends RecyclerView.Adapter<WeatherDataAdapter.ViewHolder> {


	private final Context mContext;
	private final LayoutInflater mInflater;
	private final List<Object> mDatas;
	private final int mLowestTem;
	private final int mHighestTem;

	public WeatherDataAdapter(Context context, List<Object> datats, int lowTem, int highTem) {
		mContext = context;
		mInflater = LayoutInflater.from(context);
		mDatas = datats;
		mLowestTem = lowTem;
		mHighestTem = highTem;
	}

	@Override
	public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
		return null;
	}

	@Override
	public void onBindViewHolder(ViewHolder holder, int position) {

	}

	@Override
	public int getItemCount() {
		return mDatas.size();
	}

	class ViewHolder extends RecyclerView.ViewHolder{

		public ViewHolder(View itemView) {
			super(itemView);
		}
	}
}
